//alert(document.getElementById('get_id_product').value);
function upload_OBJ(xid_product){
var id_product=document.getElementById('get_id_product').value;
//var xid_product=document.getElementById('get_xid_product').value;
var host_product=document.getElementById('host_product').value;
//document.writeln(abc);
document.writeln('<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"');
//document.writeln('<object type="application/x-java-applet;version=1.4.1"');
document.writeln('   width= "250" height= "200"');
document.writeln('   codebase="http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#version=1,4,1">');
document.write('<param name="url" value="http://');document.write(host_product);document.write('/amso/includes/ThinUpload/upload.php?sID=');document.write(id_product);document.write('&xID=');document.write(xid_product);
document.writeln('">');
document.write('<param name="message" value="http://');document.write(host_product);document.write('/amso/includes/ThinUpload/upload.php?sID=');document.write(id_product);document.write('&xID=');document.write(xid_product);
document.writeln('">');
document.writeln('<param name="archive" value="ThinUpload.jar">');
document.writeln('<param name="code" value="com.thinfile.upload.ThinUpload">');
//document.writeln('<param name="MAYSCRIPT" value="yes">');
document.writeln('<param name="name" value="Thin Upload">');
}
//message=http://localhost/ams/ThinUpload/upload.php